import request from '../utils/request';

const login = params => request({
  url: '/v1/sys/login',
  method: 'get',
  params
});

const logout = () => request({
  url: '/v1/sys/logout',
  method: 'get'
});

export default {
  login,
  logout
}
